package com.echoesnet.echoesshortvideo.views.adapters;

import android.databinding.ViewDataBinding;
import android.view.View;

import am.util.viewpager.adapter.RecyclePagerAdapter;

/**
 * Copyright (C) 2017 在线回声（天津）科技发展有限公司
 * 在线回声完全享有此软件的著作权，违者必究
 *
 * @author an
 * @version 1.0
 * @modifier
 * @createDate 2018/5/4 0004
 * @description
 */
//public class MyPagerViewHolder extends RecyclePagerAdapter.PagerViewHolder
public class MyPagerViewHolder extends RecyclePagerAdapter.PagerViewHolder
{
    /*private VideoPlayFragment fragment;

    @BindView(R.id.relNavBar)
    RelativeLayout relNavBar;
    @BindView(R.id.tvNickName)
    TextView tvNickName;
    @BindView(R.id.tvSimpleIntroduce)
    TextView tvSimpleIntroduce;
    @BindView(R.id.ivHead)
    ImageView ivHead;
    @BindView(R.id.tvFocus)
    TextView tvFocus;
    @BindView(R.id.rlLove)
    RelativeLayout rlLove;
    @BindView(R.id.rlComments)
    RelativeLayout rlComments;
    @BindView(R.id.rlShare)
    RelativeLayout rlShare;
    @BindView(R.id.ll_bottom_lay)
    TextView llBottomLay;
    @BindView(R.id.bottomSheetLayout)
    BottomSheetLayout bottomSheetLayout;
    @BindView(R.id.playVideo)
    EmptyControlVideo playVideo;
    @BindView(R.id.tvLoveNum)
    TextView tvLoveNum;
    @BindView(R.id.tvCommentsNum)
    TextView tvCommentsNum;
    @BindView(R.id.tvShareText)
    TextView tvShareNum;
    @BindView(R.id.ivLove)
    LikeButton ivLove;
    @BindView(R.id.videoCover)
    ImageView videoCover;
    @BindView(R.id.btnPlay)
    ImageView btnPlay;
    @BindView(R.id.deleteVideo)
    ImageView deleteVideo;
    @BindView(R.id.likeHeartView)
    LikeHeartLayout likeHeartView;

    public VideoPlayFragment getFragment()
    {
        return fragment;
    }

    public void setFragment(VideoPlayFragment fragment)
    {
        this.fragment = fragment;
    }

    public MyPagerViewHolder(View itemView)
    {
        super(itemView);
        ButterKnife.bind(this, itemView);
    }*/

    //    public class BindingHolder extends UltimateRecyclerviewViewHolder
//    {
    private ViewDataBinding binding;

    public MyPagerViewHolder(View itemView)
    {
        super(itemView);
    }

    public ViewDataBinding getBinding()
    {
        return binding;
    }

    public void setBinding(ViewDataBinding binding)
    {
        this.binding = binding;
    }
//    }
}
